Results 1 to 6 of 6

Thread: Finding an X intercept

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2002
    Location
    Canada
    Posts
    12

    Finding an X intercept

    I just toally blanked out on my homework today, oh man. I need to find the X intercept, I just need to let Y equal 0.


    y=x^2-4x+3

    And this is what I have done

    y=x^2-4x+3
    0=x^2-4x+3
    -3=x^2-4x

    I know I should factor out the x^2-4x...

    -3=x(x-4)

    Could someone tell me if thats right, if its wrong, could u tell me the next step.

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    there's a formula to solve second degree polynomials:

    ax^2+bx+c=0

    then you have two solutions for x:
    (-b + sqrt(b^2 - 4ac))/2a
    and
    (-b - sqrt(b^2 - 4ac))/2a

    but only if b^2 - 4ac is not negative.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3
    Hyperactive Member
    Join Date
    Jun 2000
    Posts
    350
    That one factorises as (x-1)(x-3) so the roots are 1 & 3. (Reasoning there is, that for the x intercept/s, y=0 so (x-1)(x-3)=0, ie either x-1 =0 so x=+1, or x-3=0 so x = +3)

    With the simple case of a=1 like this, you choose factors that add to b and multiply to c. ie here, -1 + -3 = -4 and -1 x -3 = +3

    Verify with the formula Ked gave:

    sqrt(b^2 - 4ac) = sqrt (16-12) = sqrt 4 = 2

    so the roots are (-(-4) +- 2)/2 = 6/2 = 3 or 2/2 = 1 as above.

    Worth noting that if the portion in the square root is negative this eqn doesn't work as Ked said, and what it means is that there are no roots, ie the curve is sort of 'floating' clear of the x axis.
    .

  4. #4
    Hyperactive Member
    Join Date
    Jun 2002
    Posts
    299
    y=x^2-4x+3

    y=(x^2-3x)+(-x+3)
    y=x(x-3)-1(x-3)
    y=(x-1)(x-3)
    0=(x-1)(x-3)

    x-1 = 0
    x=1

    or

    x-3 = 0
    x=3

    learn this one early, amn, it is useful. two intercepts, as it is a parabola. good luck~
    If I agree with you today, don't get used to it.

  5. #5
    Addicted Member
    Join Date
    Nov 2002
    Posts
    155
    Originally posted by snakeeyes1000
    two intercepts, as it is a parabola. good luck~
    Not always, though! If the square root part is zero (if my memory serves me, it's called the discriminant?) then the roots are the same, x1 = x2 = -b/2a. That's when the trough or peak just touches the x axis.

    For the discriminant to be zero, b2 = 4ac

  6. #6
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    discriminant = b[sup]2[/sup - 4ac

    for the quadratic formula that's in a square root sign, so

    delta
    /_\ > 0 --> 2 solutions (intercepts)
    /_\ = 0 --> 1 solution (intercept)
    /_\ < 0 --> 0 solutions (intercepts)


    sort of

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width