Finding a point on a slope that meets a function - tricky one though

Wait, I don't get the part after "In summary, "In summary, in order to find the coordinates of point A and B for the function f(x) = x2 -6x +a, where "a" is a parameter, we need to set the function equal to the line equation at A and B, which are given as y = -2x +1 and y = 2x -11, respectively. By equating the function and the line equation, we can solve for the x coordinate of A, which will be in terms of "a". Then, by considering the number of solutions for the quadratic equation, we can find the value of "a" and use it to find the coordinates of point
  • #1
Femme_physics
Gold Member
2,550
1

Homework Statement



Find the coordinates of point A and B
The function is

f(x) = x2 -6x +a

(where "a" is a parameter)

The equation tangent line to the function at point A is
y = -2x +1

The equation tangent line to the function at point B
y = 2x -11

http://img864.imageshack.us/i/calc01.jpg/



The Attempt at a Solution



In order to find A I just need to set the function equal to the line equation at A, since this is the point where they meet. The problem is that "a" is a parameter. Until I know a I can't solve this equation. I can see "a" as an unknown, but then I got 1 equation and 2 unknowns.

I'm rather confused as to how to find this point without "a" being defined to me.

Any help?
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
What's the derivative of f(x)?

To find the x coordinate of A you need f'(x) = -2.
Can you solve that?
 
  • #3
How will the derivative of f(x) help me find that point? Do I set the derivative of the sad-smile parabola's function equal to the slope function?

To find the x coordinate of A you need f'(x) = -2.

Hmm, wait, the derivative of the slope function gives you the point A?
 
  • #4
I like Serena said:
What's the derivative of f(x)?

To find the x coordinate of A you need f'(x) = -2.
Can you solve that?

Isn't this precalculus math? Have you taken calculus Femme Physique?

Femme_physics said:
How will the derivative of f(x) help me find that point? Do I set the derivative of the sad-smile parabola's function equal to the slope function?
Hmm, wait, the derivative of the slope function gives you the point A?

The derivative of your function at a certain point gives you the slope of the tangent at that point. The slope of your first tangent line is -2, so if you set f'(x) = -2 and solve for x, you should find the abscissa of point A.
 
  • #5
Femme_physics said:
How will the derivative of f(x) help me find that point? Do I set the derivative of the sad-smile parabola's function equal to the slope function?



Hmm, wait, the derivative of the slope function gives you the point A?

The derivative of a function is the slope of that function.

In point A the slope of f(x) must be equal to the slope of the given tangent line in A.
This gives you 1 equation with 1 unknown...
 
  • #6
Isn't this precalculus math? Have you taken calculus Femme Physique?
"Femme_Physique"? *chuckles* :D

I know calc, I just thought it's a problem where I don't have to use calculus.

The derivative of your function at a certain point gives you the slope of the tangent at that point. The slope of your first tangent line is -2, so if you set f'(x) = -2 and solve for x, you should find the abscissa of point A.

Oh, I see, it makes sense actually, thanks! I'll try it right now :)

And thanks to you ILS as always!
 
  • #7
You don't need calculus for this problem. Think about this, if you try to equate a line and a parabola (to see where they cut), you'll end up solving a quadratic equation. There could either be 2 solutions, 1 solution, or none at all. What do each of these mean in terms of the parabola and line?
 
  • #8
You don't need calculus for this problem. Think about this, if you try to equate a line and a parabola (to see where they cut), you'll end up solving a quadratic equation.

Yes-- but I don't have "a", "a" is a parameter.

I was able to solve it only using calculus.
 
  • #9
Yes I know that, you need to find a first before you can find the coordinates of intersection A and B. Just try to equate one of the lines with the parabola, and take into consideration when finding the roots (which will be in terms of a) that the line is tangent to it.
 
  • #10
Makes sense. "a" is how much the function moves to the right, right? And I can also find a but finding the minima point, correct?

Hmm..wait, I turn up with a = 3, but the answer book says 5. I did do what you said

-2x+1 = 2x -11
4x = 12
x = 3
 
  • #11
No, a is how much it moves up and down. If you have some parabola [tex]y_1=ax^2+bx+c[/tex] then the parabola [tex]y_2=ax^2+bx+c+1=y_1+1[/tex] will move everything up 1 more unit.

You found where the two lines intersect each other by equating them together, instead equate the parabola and one of the lines.
 
  • #12
But if I equate the parabola's function and one of the slope's function, I still have 1 equation and 2 unknowns (x and a are unknown)
 
  • #13
Femme_physics said:
But if I equate the parabola's function and one of the slope's function, I still have 1 equation and 2 unknowns (x and a are unknown)

I've already explained this. You'll be solving for x (the answer will be in terms of a) and then you need to take one more detail into consideration:

Mentallic said:
You don't need calculus for this problem. Think about this, if you try to equate a line and a parabola (to see where they cut), you'll end up solving a quadratic equation. There could either be 2 solutions, 1 solution, or none at all. What do each of these mean in terms of the parabola and line?
 
  • #14
The equation you would have is:

x2 - 6x + a = -2x + 1

or:
x2 - 4x + (a - 1) = 0

This is a quadratic equation in x (which includes an "a", but we'll ignore that for now).

The solution is (see also http://en.wikipedia.org/wiki/Quadratic_equation):

[tex]x=\frac {-(-4) \pm \sqrt {(-4)^2 - 4 \cdot 1 \cdot (a-1)} } {2 \cdot 1}[/tex]

This yields 2 solutions, but only if the sqrt-part is greater than zero.
In particular if the sqrt-part equals zero, there is exactly 1 solution, which is what we're looking for.

So we have:
[tex](-4)^2 - 4 \cdot 1 \cdot (a-1)} = 0[/tex]

From this equation you can find a, and then you can also find x.
 
  • #15
I kinda get stuck here, unsure how to take a square root of a number with an unknown
 

Attachments

  • stt.jpg
    stt.jpg
    43.8 KB · Views: 416
  • #16
Femme_physics said:
I kinda get stuck here, unsure how to take a square root of a number with an unknown

That's right, you cannot take the square root of a number with an unknown.

The "trick" is that you know something else: there must be only 1 solution.

Try it for instance with a = 0 and also with a = 2.
Which (and in particular: how many) solutions do you get?

[edit]btw, I just saw that your calculation that came out to (12a - 12) is not quite right.
I guess we can get to that in a minute.[/edit]
 
  • #17
I plug (-4)2-4 * 1 and I get 12

So from there it's 12(a-1) = 12a -12

That's for the numerator under the square root
 
  • #18
Femme_physics said:
I plug (-4)2-4 * 1 and I get 12

So from there it's 12(a-1) = 12a -12

That's for the numerator under the square root

There's a rule that multiplying comes before adding/subtracting.

So (-4)2 - 4 * 1 * (a - 1) = (-4)2 - (4 * 1 * (a - 1))
(Notice that I've added a couple of parentheses to emphasize the order of evaluation.)

This comes out to:
16 - (4 * (a - 1))

Since you have an unknown, you can't calculate e.g. (a - 1) yet, but what you can do is rewrite the expression, eliminating the parentheses.

That is:
16 - (4 * a - 4 * 1) = 16 - (4a - 4)

[edit]That is because:
2 * (3 + 4) = (2 * 3) + (2 * 4)
Try it if you don't believe me! :)
[/edit]
 
  • #19
Femme_physics you should revise your algebra!
 
  • #20
*smacks forehead* It's the calculator's fault! I mean, the way I tried to solve it using a calculator instead of writing everything down.

I'll try it again then. Thanks :)
 
  • #21
So, there it is. I'm still getting stuck with the same concept that I can't take the square root of an unknown.

That's right, you cannot take the square root of a number with an unknown.

The "trick" is that you know something else: there must be only 1 solution.

Try it for instance with a = 0 and also with a = 2.
Which (and in particular: how many) solutions do you get?

Hm. But I can't just set "a" to whatever I want, right?
 

Attachments

  • algeb.jpg
    algeb.jpg
    32.8 KB · Views: 407
  • #22
Femme_physics said:
So, there it is. I'm still getting stuck with the same concept that I can't take the square root of an unknown.

I'm going to take this one step at a time.

You write:
16 - 4(a - 1)

and then you make from this:
16 - 4a - 1

This is not right.
If you for instance fill in "a = 2", you'll get:
16 - 4(2 - 1) = 16 - 4(1) = 12
respectively:
16 - 4 x 2 - 1 = 16 - 8 - 1 = 7

You need to find something that if you fill in a value for "a" the results before and after match.

Femme_physics said:
Hm. But I can't just set "a" to whatever I want, right?

Can you set "a" to whatever you want?
Well, yes and no.

Yes, you can set "a" to any value you want, and see what comes out.
But ultimately "a" must have a value such that the parabola will "touch" the lines in points A and B.
 
  • #23
Okay, so I was rush at getting to the next step and didn't solve correctly for
16 - 4(a - 1)

Clearly it's 16 -4a +4
Which then becomes
20 -4a

You need to find something that if you fill in a value for "a" the results before and after match.
So this is a guessing game? I just start from a=1 till a=1000 until I find something that matches?
 
  • #24
Femme_physics said:
Okay, so I was rush at getting to the next step and didn't solve correctly for
16 - 4(a - 1)

Clearly it's 16 -4a +4
Which then becomes
20 -4a

:smile:

Femme_physics said:
So this is a guessing game? I just start from a=1 till a=1000 until I find something that matches?

All right!
Let's make it a guessing game! :)
Take a guess for "a" between 1 and 1000.
Can you give me a number?

[edit]I pick a = 1. What's yours?[/edit]

[edit2]Can you give me the solutions for x for your choice?[/edit2]
 
  • #25
Okay, I gave it a shot, and after three random guesses it appears that a=5, where the whole shebang under the square root goes to zero, that gives the same 2 results.

So I'm always supposed to get the whole shebang under the square root to get to 0 to find a?
 

Attachments

  • aequqals.jpg
    aequqals.jpg
    21.7 KB · Views: 399
  • #26
Femme_physics said:
Okay, I gave it a shot, and after three random guesses it appears that a=5, where the whole shebang under the square root goes to zero, that gives the same 2 results.

:smile:

Femme_physics said:
So I'm always supposed to get the whole shebang under the square root to get to 0 to find a?

Only if you want the equation to have exactly 1 solution, which now we do.

It's a kind of special case in which you can solve 2 unknowns from 1 equation, but only with the extra information that the parabola "touches" the line.
 
  • #27
It's a kind of special case in which you can solve 2 unknowns from 1 equation, but only with the extra information that the parabola "touches" the line.

Woahhhhh...I'm on math drug... :cool:

Many, many thanks for getting me there ILS!
 
  • #28
Earlier, you wrote this.

Femme_physics said:
Yes-- but I don't have "a", "a" is a parameter.

I was able to solve it only using calculus.

Did you get the same values for x and a (using calculus)?
 
  • #29
Well, I just needed to find a, not x! I'm not sure what you mean :confused:

By the way, now it's really getting into calculus, for the last question I need to find the area that's caged above the slopes but below the function (graphed in the original upload).

I persume I take the integral of the parabola's function from 2 to 4, then reduce it by the integrals of the two slopes from 2 to 4. Does it make sense?
 
  • #30
Femme_physics said:
Well, I just needed to find a, not x! I'm not sure what you mean :confused:

The problem statement asks for the coordinates of A and B.
You have just not only found a = 5, but also x = 2 for point A.
You're not entirely finished yet, because you also need the y-coordinate of A, and the coordinates of B.


However, my original response at the start of the thread was:
ILSe said:
To find the x coordinate of A you need f'(x) = -2.

In point A the slope of f(x) must be equal to the slope of the given tangent line in A.
This gives you 1 equation with 1 unknown...

This is first step in the "calculus" way of solving the problem using the derivative, which is actually easier.
It's before you were set on the course to intersect a parabola with a line, triggered by the comment of Mentalic.

Since you're learning calculus this seems to be a good place to practice it too. :)

Femme_physics said:
By the way, now it's really getting into calculus, for the last question I need to find the area that's caged above the slopes but below the function (graphed in the original upload).

I persume I take the integral of the parabola's function from 2 to 4, then reduce it by the integrals of the two slopes from 2 to 4. Does it make sense?

Yes, that makes perfect sense! :smile:

Take note however that you need to take the integral of the first slope from 2 to 3, and the integral of the second slope from 3 to 4.
 
  • #31
The problem statement asks for the coordinates of A and B.
You have just not only found a = 5, but also x = 2 for point A.
You're not entirely finished yet, because you also need the y-coordinate of A, and the coordinates of B.

Oh yea, that's easy. I actually got
A (x = 2)

So in that case, I plug 2 and get

Y = -3

For B I plug in 4, and I get
Y = -3

So

A (2,-3)
B (4, -3)
This is first step in the "calculus" way of solving the problem using the derivative, which is actually easier.
It's before you were set on the course to intersect a parabola with a line, triggered by the comment of Mentalic.

Since you're learning calculus this seems to be a good place to practice it too. :)

Oh yes, I didn't actually do the intersection, as you can see from my attached full scan (answer to question 2)

Take note however that you need to take the integral of the first slope from 2 to 3, and the integral of the second slope from 3 to 4.

Eep! Sound complex, as I only solved for 2 integrals at best so far, now I have 3! But, going to give it a shot, for sure! :)

Many thanks ILS!
 

Attachments

  • full2010.jpg
    full2010.jpg
    19.8 KB · Views: 394
  • #32
Femme_physics said:
Oh yea, that's easy. I actually got
A (x = 2)

So in that case, I plug 2 and get

Y = -3

For B I plug in 4, and I get
Y = -3

So

A (2,-3)
B (4, -3)

Oh yes, I didn't actually do the intersection, as you can see from my attached full scan (answer to question 2)

:rolleyes: Uhhh, yes, that's entirely correct. :smile:

And sorry to keep bugging you, but could you also solve "a" this way?
That is, since your scan suddenly switches from the calculus-derivative-method to the algebra-parabola-intersection-method.
Could you have calculated "a" in a different manner using your previous results?


Femme_physics said:
Eep! Sound complex, as I only solved for 2 integrals at best so far, now I have 3! But, going to give it a shot, for sure! :)

Many thanks ILS!

Always! :smile:
 
  • #33
And sorry to keep bugging you, but could you also solve "a" this way?
You're practicing my math, it's me who's bugging you if anything!

That is, since your scan suddenly switches from the calculus-derivative-method to the algebra-parabola-intersection-method. Could you have calculated "a" in a different manner using your previous results?

Oh. I see. I hardly knew how to find it through non-calculus! (setting the whole thing under the square root equal to zero!) Thanks to you I now do. Is there another method? How?
 
  • #34
Femme_physics said:
Oh. I see. I hardly knew how to find it through non-calculus! (setting the whole thing under the square root equal to zero!) Thanks to you I now do. Is there another method? How?

The equation of your parabola is:
f(x) = x2 -6x +a

You found that A is (2, -3) using calculus.
This is a point on the parabola.

Can you combine that?
And solve for a?
 
  • #35
In order to intersect you must have [itex]x^2- 6x+ a= -2x+ 1[/itex] so that x must satisfy [itex]x^2- 4x+ a- 1= 0[/itex].

In order that the line be tangent to the parabola, that value of x must be a double root. That is, we must have [itex]x^2- 4x+ a- 1= (x- x_0)^2[/itex].

Complete the square in [itex]x^2- 4x+ a- 1[/itex]. a must be such this is as perfect square.
 

Similar threads

  • Precalculus Mathematics Homework Help
Replies
10
Views
1K
  • Precalculus Mathematics Homework Help
Replies
17
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
954
  • Precalculus Mathematics Homework Help
Replies
15
Views
823
  • Precalculus Mathematics Homework Help
Replies
8
Views
2K
  • Precalculus Mathematics Homework Help
Replies
7
Views
577
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
2K
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
5
Views
1K
Back
Top