Deriving Function: f(a)=∫20|x(x-a) dx 0≤a≤2

In summary: Can you do the work for me please? In summary, the function f(a) is given by ∫20|x(x-a) dx for 0≤a≤2. The attempt at a solution gets lost on the 0≤a≤2 part. The correct answer is 1/3a3-2a+8.
  • #1
Asla
35
0

Homework Statement



let f(a)=∫20|x(x-a) dx for 0≤a≤2
a)Find the function f(a)

The Attempt at a Solution


I think the function can be given by this but what I get does not seem to be the correct answer.
a0x(x-a)dx -∫2ax(x-a)dx
The correct answer is supposed to be 1/3a3-2a+8\3
 
Physics news on Phys.org
  • #2
Asla said:

Homework Statement



let f(a)=∫20|x(x-a) dx for 0≤a≤2
a)Find the function f(a)

The Attempt at a Solution


I think the function can be given by this but what I get does not seem to be the correct answer.
a0x(x-a)dx -∫2ax(x-a)dx
The correct answer is supposed to be 1/3a3-2a+8\3

Why would you think you can split the integral up that way? You do have to split up the integral, but the way you did it makes no sense (why is there a minus sign before the second term)?

The given answer is correct, BTW.

You should start by splitting up the bounds so you can remove the absolute value sign. Figure out when the expression inside the "| |" is positive, and when it's negative.
 
  • #3
Curious3141 said:
Why would you think you can split the integral up that way? You do have to split up the integral, but the way you did it makes no sense (why is there a minus sign before the second term)?

The given answer is correct, BTW.

You should start by splitting up the bounds so you can remove the absolute value sign. Figure out when the expression inside the "| |" is positive, and when it's negative.

I am having a hard time doing that.I am totally lost because of the 0≤a≤2 part.Give me a hint please.
 
  • #4
Asla said:
I am having a hard time doing that.I am totally lost because of the 0≤a≤2 part.Give me a hint please.

OK, split the integral up like this: ##\int_0^a g(x)dx +\int_a^2 h(x)dx##. Neither ##g(x)## nor ##h(x)## involve the absolute value notation. They're simple polynomial functions.

##g(x)## corresponds to the expression ##|x(x-a)|## when ##x \leq a##. Can you figure out what ##g(x)## should be?

Likewise, ##h(x)## corresponds to the expression ##|x(x-a)|## when ##x \geq a##. Can you figure out what ##h(x)## should be?
 
  • #5
Curious3141 said:
OK, split the integral up like this: ##\int_0^a g(x)dx +\int_a^2 h(x)dx##. Neither ##g(x)## nor ##h(x)## involve the absolute value notation. They're simple polynomial functions.

##g(x)## corresponds to the expression ##|x(x-a)|## when ##x \leq a##. Can you figure out what ##g(x)## should be?

Likewise, ##h(x)## corresponds to the expression ##|x(x-a)|## when ##x \geq a##. Can you figure out what ##h(x)## should be?
Let me try g(x) could it be ∫a0x(x-1)dx ? and h(x) be ∫2ax(x-a)dx?
 
Last edited:
  • #6
Asla said:
Let me try g(x) could it be ∫a0x(x-1)dx ? and h(x) be ∫2ax(x-a)dx?

h is right but not g. If you don't know whether x > or < a, there are two possibilities for |x-a|. What are they?
 
  • #7
haruspex said:
h is right but not g. If you don't know whether x > or < a, there are two possibilities for |x-a|. What are they?
For g(x) x cannot be greater than a it can either be equal or less than a,..huh?
 
  • #8
Asla said:
I think the function can be given by this but what I get does not seem to be the correct answer.
a0x(x-a)dx -∫2ax(x-a)dx

You were so close to getting this correct, all you needed was to multiply your answer to the above by -1 and you would have got the correct answer. It's a bit mystifying how you managed to get the negative of the answer, though.

You have plotted a sample graph, have you, so you can clearly see what you are dealing with? http://m.wolframalpha.com/input/?i=graph+x(x-1.2)+x>0,x<2+&x=0&y=0
 
  • #9
Asla said:
For g(x) x cannot be greater than a it can either be equal or less than a,..huh?
Forget g for the moment, I was asking a general question. If x is unknown then |x| is either x or -x, depending on the sign of x, right? So what are the possibilities for |x(x-a)|? Which of them happens when 0 < x < a?
 
  • #10
Asla said:

Homework Statement



let f(a)=∫20|x(x-a) dx for 0≤a≤2
a)Find the function f(a)
...
Where is the right hand vertical bar for the "absolute value"?

Is the integral supposed to be [itex]\displaystyle \int_0^2 |\,x(x-a) \,|\ \, dx\ ?[/itex]

Also, I'm moving this thread to "Calculus & Beyond" .
 
  • #11
If [tex]0\le x\le a[/tex] then [tex]x(x- a)\le 0[/tex] so [tex]|x(x- a)|= x(a- x)= ax- x^2[/tex]

If [tex]a\le x\le 2[/tex] then [tex]x(x- a)\ge 0[/tex] so [tex]|x(x- a)|= x(x- a)= x^2- ax[/tex]

[tex]\int_0^2 |x(x- a)|dx= \int_0^a (ax- x^2) dx+ \int_a^2 (ax^2- ax) dx[/tex]

Can you do that?
 
  • #12
HallsofIvy said:
If [tex]0\le x\le a[/tex] then [tex]x(x- a)\le 0[/tex] so [tex]|x(x- a)|= x(a- x)= ax- x^2[/tex]

If [tex]a\le x\le 2[/tex] then [tex]x(x- a)\ge 0[/tex] so [tex]|x(x- a)|= x(x- a)= x^2- ax[/tex]

[tex]\int_0^2 |x(x- a)|dx= \int_0^a (ax- x^2) dx+ \int_a^2 (ax^2- ax) dx[/tex]

Can you do that?
I did not get it it gives me something completely different as the answer.Do you know of some material that could guide me on how to integrate functions with absolute values?
 
  • #13
HallsofIvy said:
[tex]\int_0^2 |x(x- a)|dx= \int_0^a (ax- x^2) dx+ \int_a^2 (x^2- ax) dx[/tex]

Fixed error.
 
  • #14
Asla said:
Do you know of some material that could guide me on how to integrate functions with absolute values?
You have been shown how to do it: you must break the integration range so that, within each range you can replace the absolute value expression with an expression of the appropriate sign. E.g. Integral -1 to +1 of |x| becomes integral -1 to 0 of -x (a positive quantity) plus the integral from 0 to 1 of +x. The problem is that in this thread you have made mistakes in doing that.
 

FAQ: Deriving Function: f(a)=∫20|x(x-a) dx 0≤a≤2

What is the meaning of "Deriving Function"?

"Deriving Function" refers to the process of finding the function that is represented by a given integral. It involves solving the integral and expressing it in terms of a variable, such as "a" in the given function.

How do you solve the given integral, ∫20|x(x-a) dx 0≤a≤2?

To solve this integral, we first need to expand the absolute value terms. This results in two separate integrals, one with a positive sign and one with a negative sign. Then, we can use the power rule for integration to solve each integral individually. Finally, we can combine the two solutions and use the given limits of integration to find the final function.

Why is the absolute value used in the given function?

The absolute value is used to ensure that the function is continuous and does not have any discontinuities at x = a. This is because the integrand, x(x-a), changes sign at x = a, and the absolute value ensures that the negative portion of the integral is flipped to be positive.

What does the range of 0≤a≤2 mean in the given function?

The range of 0≤a≤2 means that the variable "a" can take on any value between 0 and 2. This range is important because it allows us to see how the function changes as "a" varies, and it also provides the limits of integration for solving the integral.

Can this function be applied to real-world situations?

Yes, this function can be applied to real-world situations, particularly in physics and engineering. It can be used to represent the position of an object in motion, where "a" represents the initial position and the integral represents the change in position over time. It can also be used to model the area under a curve, such as in calculating the work done by a varying force.

Back
Top