|
-
Feb 12th, 2003, 02:29 PM
#1
Thread Starter
New Member
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.
-
Feb 12th, 2003, 03:08 PM
#2
transcendental analytic
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.
-
Feb 13th, 2003, 03:03 AM
#3
Hyperactive Member
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.
-
Feb 15th, 2003, 06:48 PM
#4
Hyperactive Member
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.
-
Apr 24th, 2003, 08:41 AM
#5
Addicted Member
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
-
Apr 28th, 2003, 08:15 AM
#6
Conquistador
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|