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

Click For Summary

Homework Help Overview

The problem involves deriving the function f(a) defined by the integral f(a)=∫20|x(x-a) dx for the range 0≤a≤2. Participants are tasked with finding this function and addressing the complications introduced by the absolute value in the integral.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the method of splitting the integral to handle the absolute value, with some questioning the validity of the original attempts. There are attempts to define the functions g(x) and h(x) based on the conditions of x relative to a.

Discussion Status

There is ongoing exploration of how to correctly split the integral and define the functions involved. Some participants have provided guidance on how to approach the problem, while others express confusion about the implications of the bounds and the absolute value.

Contextual Notes

Participants are working within the constraints of the problem's defined range for a and the need to accurately interpret the absolute value expression in the integral.

Asla
Messages
35
Reaction score
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
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.
 
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.
 
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?
 
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:
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?
 
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?
 
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
 
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.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
4
Views
2K
Replies
6
Views
2K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
7
Views
2K