We have your learning goals covered with Spring and Summer courses available. Enroll today!

G
Topic
First Poster
Last Poster
k a March Highlights and 2025 AoPS Online Class Information
jlacosta   0
Mar 2, 2025
March is the month for State MATHCOUNTS competitions! Kudos to everyone who participated in their local chapter competitions and best of luck to all going to State! Join us on March 11th for a Math Jam devoted to our favorite Chapter competition problems! Are you interested in training for MATHCOUNTS? Be sure to check out our AMC 8/MATHCOUNTS Basics and Advanced courses.

Are you ready to level up with Olympiad training? Registration is open with early bird pricing available for our WOOT programs: MathWOOT (Levels 1 and 2), CodeWOOT, PhysicsWOOT, and ChemWOOT. What is WOOT? WOOT stands for Worldwide Online Olympiad Training and is a 7-month high school math Olympiad preparation and testing program that brings together many of the best students from around the world to learn Olympiad problem solving skills. Classes begin in September!

Do you have plans this summer? There are so many options to fit your schedule and goals whether attending a summer camp or taking online classes, it can be a great break from the routine of the school year. Check out our summer courses at AoPS Online, or if you want a math or language arts class that doesn’t have homework, but is an enriching summer experience, our AoPS Virtual Campus summer camps may be just the ticket! We are expanding our locations for our AoPS Academies across the country with 15 locations so far and new campuses opening in Saratoga CA, Johns Creek GA, and the Upper West Side NY. Check out this page for summer camp information.

Be sure to mark your calendars for the following events:
[list][*]March 5th (Wednesday), 4:30pm PT/7:30pm ET, HCSSiM Math Jam 2025. Amber Verser, Assistant Director of the Hampshire College Summer Studies in Mathematics, will host an information session about HCSSiM, a summer program for high school students.
[*]March 6th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar on Math Competitions from elementary through high school. Join us for an enlightening session that demystifies the world of math competitions and helps you make informed decisions about your contest journey.
[*]March 11th (Tuesday), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS Chapter Discussion MATH JAM. AoPS instructors will discuss some of their favorite problems from the MATHCOUNTS Chapter Competition. All are welcome!
[*]March 13th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar about Summer Camps at the Virtual Campus. Transform your summer into an unforgettable learning adventure! From elementary through high school, we offer dynamic summer camps featuring topics in mathematics, language arts, and competition preparation - all designed to fit your schedule and ignite your passion for learning.[/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

Prealgebra 1
Sunday, Mar 2 - Jun 22
Friday, Mar 28 - Jul 18
Sunday, Apr 13 - Aug 10
Tuesday, May 13 - Aug 26
Thursday, May 29 - Sep 11
Sunday, Jun 15 - Oct 12
Monday, Jun 30 - Oct 20
Wednesday, Jul 16 - Oct 29

Prealgebra 2 Self-Paced

Prealgebra 2
Tuesday, Mar 25 - Jul 8
Sunday, Apr 13 - Aug 10
Wednesday, May 7 - Aug 20
Monday, Jun 2 - Sep 22
Sunday, Jun 29 - Oct 26
Friday, Jul 25 - Nov 21


Introduction to Algebra A Self-Paced

Introduction to Algebra A
Sunday, Mar 23 - Jul 20
Monday, Apr 7 - Jul 28
Sunday, May 11 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, May 14 - Aug 27
Friday, May 30 - Sep 26
Monday, Jun 2 - Sep 22
Sunday, Jun 15 - Oct 12
Thursday, Jun 26 - Oct 9
Tuesday, Jul 15 - Oct 28

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Sunday, Mar 16 - Jun 8
Wednesday, Apr 16 - Jul 2
Thursday, May 15 - Jul 31
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Wednesday, Jul 9 - Sep 24
Sunday, Jul 27 - Oct 19

Introduction to Number Theory
Monday, Mar 17 - Jun 9
Thursday, Apr 17 - Jul 3
Friday, May 9 - Aug 1
Wednesday, May 21 - Aug 6
Monday, Jun 9 - Aug 25
Sunday, Jun 15 - Sep 14
Tuesday, Jul 15 - Sep 30

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Sunday, Mar 2 - Jun 22
Wednesday, Apr 16 - Jul 30
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
Tuesday, Mar 4 - Aug 12
Sunday, Mar 23 - Sep 21
Wednesday, Apr 23 - Oct 1
Sunday, May 11 - Nov 9
Tuesday, May 20 - Oct 28
Monday, Jun 16 - Dec 8
Friday, Jun 20 - Jan 9
Sunday, Jun 29 - Jan 11
Monday, Jul 14 - Jan 19

Intermediate: Grades 8-12

Intermediate Algebra
Sunday, Mar 16 - Sep 14
Tuesday, Mar 25 - Sep 2
Monday, Apr 21 - Oct 13
Sunday, Jun 1 - Nov 23
Tuesday, Jun 10 - Nov 18
Wednesday, Jun 25 - Dec 10
Sunday, Jul 13 - Jan 18
Thursday, Jul 24 - Jan 22

Intermediate Counting & Probability
Sunday, Mar 23 - Aug 3
Wednesday, May 21 - Sep 17
Sunday, Jun 22 - Nov 2

Intermediate Number Theory
Friday, Apr 11 - Jun 27
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

Precalculus
Sunday, Mar 16 - Aug 24
Wednesday, Apr 9 - Sep 3
Friday, May 16 - Oct 24
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8

Advanced: Grades 9-12

Olympiad Geometry
Wednesday, Mar 5 - May 21
Tuesday, Jun 10 - Aug 26

Calculus
Sunday, Mar 30 - Oct 5
Tuesday, May 27 - Nov 11
Wednesday, Jun 25 - Dec 17

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
Sunday, Mar 23 - Jun 15
Wednesday, Apr 16 - Jul 2
Friday, May 23 - Aug 15
Monday, Jun 2 - Aug 18
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

MATHCOUNTS/AMC 8 Advanced
Friday, Apr 11 - Jun 27
Sunday, May 11 - Aug 10
Tuesday, May 27 - Aug 12
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Problem Series
Tuesday, Mar 4 - May 20
Monday, Mar 31 - Jun 23
Friday, May 9 - Aug 1
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Tuesday, Jun 17 - Sep 2
Sunday, Jun 22 - Sep 21 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Jun 23 - Sep 15
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Final Fives
Sunday, May 11 - Jun 8
Tuesday, May 27 - Jun 17
Monday, Jun 30 - Jul 21

AMC 12 Problem Series
Tuesday, May 27 - Aug 12
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Wednesday, Aug 6 - Oct 22

AMC 12 Final Fives
Sunday, May 18 - Jun 15

F=ma Problem Series
Wednesday, Jun 11 - Aug 27

WOOT Programs
Visit the pages linked for full schedule details for each of these programs!


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

Introduction to Programming with Python
Monday, Mar 24 - Jun 16
Thursday, May 22 - Aug 7
Sunday, Jun 15 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Tuesday, Jun 17 - Sep 2
Monday, Jun 30 - Sep 22

Intermediate Programming with Python
Sunday, Jun 1 - Aug 24
Monday, Jun 30 - Sep 22

USACO Bronze Problem Series
Tuesday, May 13 - Jul 29
Sunday, Jun 22 - Sep 1

Physics

Introduction to Physics
Sunday, Mar 30 - Jun 22
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Tuesday, Mar 25 - Sep 2
Thursday, May 22 - Oct 30
Monday, Jun 23 - Dec 15

Relativity
Sat & Sun, Apr 26 - Apr 27 (4:00 - 7:00 pm ET/1:00 - 4:00pm PT)
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Mar 2, 2025
0 replies
k i Adding contests to the Contest Collections
dcouchman   1
N Apr 5, 2023 by v_Enhance
Want to help AoPS remain a valuable Olympiad resource? Help us add contests to AoPS's Contest Collections.

Find instructions and a list of contests to add here: https://artofproblemsolving.com/community/c40244h1064480_contests_to_add
1 reply
dcouchman
Sep 9, 2019
v_Enhance
Apr 5, 2023
k i Zero tolerance
ZetaX   49
N May 4, 2019 by NoDealsHere
Source: Use your common sense! (enough is enough)
Some users don't want to learn, some other simply ignore advises.
But please follow the following guideline:


To make it short: ALWAYS USE YOUR COMMON SENSE IF POSTING!
If you don't have common sense, don't post.


More specifically:

For new threads:


a) Good, meaningful title:
The title has to say what the problem is about in best way possible.
If that title occured already, it's definitely bad. And contest names aren't good either.
That's in fact a requirement for being able to search old problems.

Examples:
Bad titles:
- "Hard"/"Medium"/"Easy" (if you find it so cool how hard/easy it is, tell it in the post and use a title that tells us the problem)
- "Number Theory" (hey guy, guess why this forum's named that way¿ and is it the only such problem on earth¿)
- "Fibonacci" (there are millions of Fibonacci problems out there, all posted and named the same...)
- "Chinese TST 2003" (does this say anything about the problem¿)
Good titles:
- "On divisors of a³+2b³+4c³-6abc"
- "Number of solutions to x²+y²=6z²"
- "Fibonacci numbers are never squares"


b) Use search function:
Before posting a "new" problem spend at least two, better five, minutes to look if this problem was posted before. If it was, don't repost it. If you have anything important to say on topic, post it in one of the older threads.
If the thread is locked cause of this, use search function.

Update (by Amir Hossein). The best way to search for two keywords in AoPS is to input
[code]+"first keyword" +"second keyword"[/code]
so that any post containing both strings "first word" and "second form".


c) Good problem statement:
Some recent really bad post was:
[quote]$lim_{n\to 1}^{+\infty}\frac{1}{n}-lnn$[/quote]
It contains no question and no answer.
If you do this, too, you are on the best way to get your thread deleted. Write everything clearly, define where your variables come from (and define the "natural" numbers if used). Additionally read your post at least twice before submitting. After you sent it, read it again and use the Edit-Button if necessary to correct errors.


For answers to already existing threads:


d) Of any interest and with content:
Don't post things that are more trivial than completely obvious. For example, if the question is to solve $x^{3}+y^{3}=z^{3}$, do not answer with "$x=y=z=0$ is a solution" only. Either you post any kind of proof or at least something unexpected (like "$x=1337, y=481, z=42$ is the smallest solution). Someone that does not see that $x=y=z=0$ is a solution of the above without your post is completely wrong here, this is an IMO-level forum.
Similar, posting "I have solved this problem" but not posting anything else is not welcome; it even looks that you just want to show off what a genius you are.

e) Well written and checked answers:
Like c) for new threads, check your solutions at least twice for mistakes. And after sending, read it again and use the Edit-Button if necessary to correct errors.



To repeat it: ALWAYS USE YOUR COMMON SENSE IF POSTING!


Everything definitely out of range of common sense will be locked or deleted (exept for new users having less than about 42 posts, they are newbies and need/get some time to learn).

The above rules will be applied from next monday (5. march of 2007).
Feel free to discuss on this here.
49 replies
ZetaX
Feb 27, 2007
NoDealsHere
May 4, 2019
postaffteff
JetFire008   16
N 9 minutes ago by JetFire008
Source: Internet
Let $P$ be the Fermat point of a $\triangle ABC$. Prove that the Euler line of the triangles $PAB$, $PBC$, $PCA$ are concurrent and the point of concurrence is $G$, the centroid of $\triangle ABC$.
16 replies
JetFire008
Mar 15, 2025
JetFire008
9 minutes ago
2025 USAMO Problems
Nippon2283   1
N 15 minutes ago by ohiorizzler1434
Can someone post the 2025 USAMO problems?

Thanks.
1 reply
Nippon2283
an hour ago
ohiorizzler1434
15 minutes ago
Cubic function from Olymon
Adywastaken   4
N 24 minutes ago by Adywastaken
Source: Olymon Volume 11 2010 663
Find all $f:\mathbb{R}\rightarrow\mathbb{R}$ such that
$x^2y^2(f(x+y)-f(x)-f(y))=3(x+y)f(x)f(y)$ $\forall$ $x,y \in \mathbb{R}$
4 replies
Adywastaken
Today at 5:25 AM
Adywastaken
24 minutes ago
Inspired by Titu Andreescu
sqing   1
N an hour ago by MS_asdfgzxcvb
Source: Own
Let $ a,b,c>0 $ and $ a+b+c\geq 3abc . $ Prove that
$$a^2+b^2+c^2+1\geq \frac{4}{3}(ab+bc+ca) $$
1 reply
sqing
3 hours ago
MS_asdfgzxcvb
an hour ago
Incircle
PDHT   1
N an hour ago by luutrongphuc
Source: Nguyen Minh Ha
Given a triangle \(ABC\) that is not isosceles at \(A\), let \((I)\) be its incircle, which is tangent to \(BC, CA, AB\) at \(D, E, F\), respectively. The lines \(DE\) and \(DF\) intersect the line passing through \(A\) and parallel to \(BC\) at \(M\) and \(N\), respectively. The lines passing through \(M, N\) and perpendicular to \(MN\) intersect \(IF\) and \(IE\) at \(Q\) and \(P\), respectively.

Prove that \(D, P, Q\) are collinear and that \(PF, QE, DI\) are concurrent.
1 reply
PDHT
Yesterday at 6:14 PM
luutrongphuc
an hour ago
IMO ShortList 2001, number theory problem 4
orl   43
N an hour ago by Zany9998
Source: IMO ShortList 2001, number theory problem 4
Let $p \geq 5$ be a prime number. Prove that there exists an integer $a$ with $1 \leq a \leq p-2$ such that neither $a^{p-1}-1$ nor $(a+1)^{p-1}-1$ is divisible by $p^2$.
43 replies
orl
Sep 30, 2004
Zany9998
an hour ago
Number theory - Iran
soroush.MG   32
N an hour ago by Nobitasolvesproblems1979
Source: Iran MO 2017 - 2nd Round - P1
a) Prove that there doesn't exist sequence $a_1,a_2,a_3,... \in \mathbb{N}$ such that: $\forall i<j: gcd(a_i+j,a_j+i)=1$

b) Let $p$ be an odd prime number. Prove that there exist sequence $a_1,a_2,a_3,... \in \mathbb{N}$ such that: $\forall i<j: p \not | gcd(a_i+j,a_j+i)$
32 replies
soroush.MG
Apr 20, 2017
Nobitasolvesproblems1979
an hour ago
Inspired by my own results
sqing   2
N 2 hours ago by cazanova19921
Source: Own
Let $ a,b,c\geq \frac{1}{2}  . $ Prove that
$$ (a+1)(b+2)(c +1)-15 abc\leq \frac{15}{4}$$$$ (a+1)(b+3)(c +1)-21abc\leq \frac{21}{4}$$$$(a+2)(b+1)(c +2)-25a b c \leq \frac{25}{4}$$$$ (a+2)(b+3)(c +2)-35a b c \leq  \frac{35}{2}$$$$    (a+3)(b+1)(c +3)-49a b c \leq  \frac{49}{4}$$$$ (a+3)(b+2)(c +3)-49a b c \leq \frac{49}{2}$$
2 replies
sqing
4 hours ago
cazanova19921
2 hours ago
Line through incenter tangent to a circle
Kayak   32
N 2 hours ago by L13832
Source: Indian TST D1 P1
In an acute angled triangle $ABC$ with $AB < AC$, let $I$ denote the incenter and $M$ the midpoint of side $BC$. The line through $A$ perpendicular to $AI$ intersects the tangent from $M$ to the incircle (different from line $BC$) at a point $P$> Show that $AI$ is tangent to the circumcircle of triangle $MIP$.

Proposed by Tejaswi Navilarekallu
32 replies
Kayak
Jul 17, 2019
L13832
2 hours ago
D1015 : A strange EF for polynomials
Dattier   3
N 2 hours ago by Dattier
Source: les dattes à Dattier
Find all $P \in \mathbb R[x,y]$ with $P \not\in \mathbb R[x] \cup \mathbb R[y]$ and $\forall g,f$ homeomorphismes of $\mathbb R$, $P(f,g)$ is an homoemorphisme too.
3 replies
Dattier
Mar 16, 2025
Dattier
2 hours ago
Turkey EGMO TST 2017 P6
nimueh   4
N 2 hours ago by Nobitasolvesproblems1979
Source: Turkey EGMO TST 2017 P6
Find all pairs of prime numbers $(p,q)$, such that $\frac{(2p^2-1)^q+1}{p+q}$ and $\frac{(2q^2-1)^p+1}{p+q}$ are both integers.
4 replies
nimueh
Jun 1, 2017
Nobitasolvesproblems1979
2 hours ago
An inequality
JK1603JK   4
N 2 hours ago by Quantum-Phantom
Source: unknown
Let a,b,c>=0: ab+bc+ca=3 then maximize P=\frac{a^2b+b^2c+c^2a+9}{a+b+c}+\frac{abc}{2}.
4 replies
JK1603JK
Yesterday at 10:28 AM
Quantum-Phantom
2 hours ago
Inspired by Abelkonkurransen 2025
sqing   1
N 2 hours ago by kiyoras_2001
Source: Own
Let $ a,b,c $ be real numbers such that $  a^2+4b^2+16c^2= abc. $ Prove that $$\frac{1}{a}+\frac{1}{2b}+\frac{1}{4c}\geq -\frac{1}{16}$$Let $ a,b,c $ be real numbers such that $ 4a^2+9b^2+16c^2= abc. $ Prove that $$ \frac{1}{2a}+\frac{1}{3b}+\frac{1}{4c}\geq -\frac{1}{48}$$
1 reply
sqing
Yesterday at 1:06 PM
kiyoras_2001
2 hours ago
Geometry challenging question
srnjbr   0
3 hours ago
Given a triangle ABC. A1, B1 and C1 are the points of contact of the inner circumcircle of the triangle with the sides BC, AC and AB respectively. The point of contact of AA1 with B1C1 and the circumcircle are called L and Q respectively. M is the midpoint of B1C1. The point of intersection of lines BC and B1C1 is called T. P is the foot of the perpendicular drawn to AT from point L. Show that points A1, M, Q and P lie on a circle.
0 replies
srnjbr
3 hours ago
0 replies
IMO Shortlist 2011, Algebra 3
orl   45
N Mar 18, 2025 by Ilikeminecraft
Source: IMO Shortlist 2011, Algebra 3
Determine all pairs $(f,g)$ of functions from the set of real numbers to itself that satisfy \[g(f(x+y)) = f(x) + (2x + y)g(y)\] for all real numbers $x$ and $y$.

Proposed by Japan
45 replies
orl
Jul 11, 2012
Ilikeminecraft
Mar 18, 2025
IMO Shortlist 2011, Algebra 3
G H J
Source: IMO Shortlist 2011, Algebra 3
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
orl
3647 posts
#1 • 11 Y
Y by Davi-8191, tenplusten, Amir Hossein, itslumi, Jc426, jhu08, megarnie, Adventure10, Mango247, Rounak_iitr, and 1 other user
Determine all pairs $(f,g)$ of functions from the set of real numbers to itself that satisfy \[g(f(x+y)) = f(x) + (2x + y)g(y)\] for all real numbers $x$ and $y$.

Proposed by Japan
This post has been edited 1 time. Last edited by djmathman, Aug 28, 2015, 4:56 AM
Reason: typo
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pco
23452 posts
#2 • 15 Y
Y by Sayan, lovermath, bcp123, eulerou1997, leader, numbertheorist17, Bashy99, Amir Hossein, AlastorMoody, Jc426, jhu08, Adventure10, Mango247, Sedro, and 1 other user
orl wrote:
Determine all pairs $(f,g)$ of functions from the set of real numbers to itsels that satisfy \[g(f(x+y)) = f(x) + (2x + y)g(y)\] for all real numbers $x$ and $y.$
Let $P(x,y)$ be the assertion $g(f(x+y))=f(x)+(2x+y)g(y)$

Let $x\ne 0$ :
$P(x,0)$ $\implies$ $g(f(x))=f(x)+2xg(0)$
$P(0,x)$ $\implies$ $g(f(x))=f(0)+xg(x)$
Subtracting, we get $g(x)=\frac{f(x)-f(0)}x+2g(0)$ $\forall x\ne 0$

$P(x,y)$ $\implies$ $g(f(x+y))=f(x)+(2x+y)g(y)$
$P(x+y,0)$ $\implies$ $g(f(x+y))=f(x+y)+(2x+2y)g(0)$
Subtracting, we get $f(x+y)=f(x)+(2x+y)g(y)-(2x+2y)g(0)$

Considering $y\ne 0$ and using previous result, this becomes $f(x+y)=f(x)+(2x+y)\frac{f(y)-f(0)}y+2xg(0)$
Considering $x\ne 0$ and swapping $x,y$, this becomes $f(x+y)=f(y)+(2y+x)\frac{f(x)-f(0)}x+2yg(0)$

Considering $x,y\ne 0$ and subtracting, we get $f(x)=x^2(\frac{f(y)-f(0)}{y^2}+\frac{g(0)}y)-g(0)x+f(0)$

Setting $y=1$ in the above line, we get $f(x)=x^2(f(1)-f(0)+g(0))-g(0)x+f(0)$ $\forall x\ne 0$

Plugging this in the equality $g(x)=\frac{f(x)-f(0)}x+2g(0)$ $\forall x\ne 0$ we previously got, we get then :
$g(x)=x(f(1)-f(0)+g(0))+g(0)$ $\forall x\ne 0$

Plugging this in original equation, we get two possibilities :
$f(x)=g(x)=0$ $\forall x\ne 0$
$f(x)=x^2+c$ and $g(x)=x$ $\forall x\ne 0$

It's then easy to check that we need the same values for $x=0$ and we get the two families of solutions :
$f(x)=g(x)=0$ $\forall x$
$f(x)=x^2+c$ and $g(x)=x$ $\forall x$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Orin
22 posts
#3 • 4 Y
Y by Mehtap, Adventure10, Mango247, and 1 other user
Let $P(x,y)$ be the assertion $g(f(x+y))=f(x)+(2x+y)g(y)$
$P(x,y)-P(y,x) \Rightarrow f(x)-f(y)=(2y+x)g(x)-(2x+y)g(y)$.
Let $Q(x,y)$ be the assertion $f(x)-f(y)=(2y+x)g(x)-(2x+y)g(y)$
$Q(1,0) \Rightarrow f(1)-f(0)=g(1)-2g(0)$.....(1)
$Q(x,0)-Q(x,1) \Rightarrow f(1)-f(0)=2xg(1)+g(1)-2xg(0)-2g(x)$.....(2)
From (1),(2) we get $g(x)=(g(1)-g(0))x+g(0)$
now we have two cases.
Case1 $\Rightarrow g(1)-g(0)=0$
Then $g(x)=g(0)=c \forall x \in \mathbb {R}$,where $c$ is a constant.
Plugging $g(x)=c$ in $P(x,y) \Rightarrow f(x)+2cx+cy=c \forall x,y \in \mathbb {R}$
which implies $c=0,f(x)=0$ whcih is indeed a solution.
Case2 $\Rightarrow g(1)-g(0) \neq 0$
We may write $g(x)=ax+b;a \in \mathbb {R}-\{0\},b \in \mathbb {R}$.
Plugging $g(x)=ax+b$ in $P(x,-x) \Rightarrow af(0)+b=f(x)+xg(-x)$
or,$f(x)=ax^2-bx+af(0)+b$,let $af(0)+b=c$
Then $f(x)=ax^2-bx+c$
Plugging these values in $P(0,x)$
$\Rightarrow a^2x^2-abx+ac+b=ax^2+bx+c \forall x \in \mathbb {R}$,Let it be $R(x)$.
$R(0) \Rightarrow ac+b=c$.....(3)
$R(1)-R(-1) \Rightarrow b(a-1)=0$
Again we have 2 cases.
Case2.1:$a=1$,so from (3) we get $b=0$
so $f(x)=x^2+c,g(x)=x$ which indeed satisfy $P(x,y)$.
Case2.2:$b=0$,so from (3) we get $c(a-1)=0$
If $a=1$ it becomes case 2.1
So $c=0$ implying $f(x)=ax^2,g(x)=ax$
Plugging these values in $P(x,0) \Rightarrow a=0$ or $a=1$
if $a=1;f(x)=x^2,g(x)=x$,which is a subset of solutions of Case2.1
else if $a=0;f(x)=0,g(x)=0$.
=============================================
Synthesis of solutions:
1.$f(x)=0,g(x)=0 \forall x \in \mathbb {R}$
2,$f(x)=x^2+c,g(x)=x \forall x \in \mathbb {R}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
omkarkamat
2 posts
#4 • 2 Y
Y by Adventure10, Mango247
I have another way of solving the problem but don't know if it's right.

Plug in (x,y)=(x,-2x) to get g(f(-x))=f(x) for all x in R
And (x,y) = (y,-2y) to get g(f(-y)=f(y) for all y in R

Case 1: f(x) is even.
If this is the case, then g(x) = x for all x in R
The original equation now becomes f(x + y)=f(x)+y(2x+y)
If we take (x,y)=(0,y) we get f(y)=y^2. WLOG let f(0) =c. Where can is a constant,
Then f(y)=y^2 +c for all y in R.

Now we prove that either f(x) is a linear function or a constant function.
We find that f(x)-f(y)=(2y+x)g(x)-(2x+y)g(y)
Plugging in (x,y) = (x,0) ,(1,x),(0,1) we obtain

F(x)-f(0)=xg(x)-2xg(0)
F(1)-f(x)=(2x+1)g(1)-(x+2)g(x)
F(0)-f(1)=2g(0)-g(1)

Taking the sum and dividing by two yields
G(x)=x(g(1)-g(0))+g(0) which proves that it has to a constant or a linear function.

We first examine the case in which it is a constant if such a function exists.
We take f(x)=c1 and this implies that g(x)=c2. Plugging into the equation we see that the only constant that works is 0.

Since this constant works, there is no such linear function that we need to examine and hence the solutions are

F(x)= y^2 +c, f(x)=0 and g(x)=x, g(x)=0
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Legend-crush
199 posts
#5 • 8 Y
Y by anantmudgal09, Bashy99, A_Math_Lover, Amir Hossein, Jerry122805, Adventure10, Mango247, and 1 other user
Let $P(x,y)\Leftrightarrow g(f(x+y))=f(x)+(2x+y)g(y)$
$P(x,0)\Rightarrow  g(f(x))=f(x)+2xg(0)\  (*)$
$P(0,x) \Rightarrow  g(f(x))=f(x)+2xg(0) \ (**)$
from (*) and (**) we get \[f(x)=f(0)+x(g(x)-2g(0))\]
replacing in the functionnal equation we get \[P(x,y) \Rightarrow  (x+y)g(x+y)=x(g(x)-2g(0))+(2x+y)g(y)\]
since the LHS is symetric in x,y , we have \[x(g(x)-2g(0))+(2x+y)g(y)=y(g(y)-2g(0))+(2y+x)g(x)\]
which yields to $(\forall x,y\neq 0) \ \frac{g(x)-g(0)}{x}=\frac{g(y)-g(0)}{y}$ hence \[(\exists a,b\in \mathbb{R}) (\forall x\in \mathbb{R}) g(x)=ax+b\]
it also follows that $f(x)=ax^2-bx+f(0)$ forall real x.
replacing in the functionnal equation we get :
1.$f=g=0 $
2. $f(x)=x^2+c$ and $g(x)=x \forall x$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
utkarshgupta
2280 posts
#6 • 2 Y
Y by Amir Hossein, Adventure10
Solution
Let $P(x,y)$ be the assertion $g(f(x+y)) = f(x) + (2x + y)g(y)$.
$$P(x,0) \implies g(f(x))=f(x)+2xg(0)$$
$$P(0,x) \implies g(f(x))=f(0)+xg(x)$$
$$\implies xg(x)+f(0)=f(x)+2xg(0)$$
$$\implies f(x)=xg(x)+f(0)-2xg(0)$$

Replacing this in $P(x,y)$
$$g(f(x+y))=xg(x)+f(0)-2xg(0)+(2x+y)g(y)$$
Here setting $x=z$, $y=x+y-z$
$$g(f(x+y))=zg(z)+f(0)-2zg(0)+(x+y+z)g(x+y-z)$$

Comparing and setting $y=z=1$
$$xg(x)-2xg(0)+2xg(1)=2g(0)+(x+2)g(x)$$
$$\implies g(x)=Ax+B$$

Now the question is easy


Thus the solutions are $\boxed {f(x)=0=g(x)}$ or
$\boxed {f(x)=x^2+C}$ and $\boxed {g(x)=x}$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AMN300
563 posts
#7 • 5 Y
Y by MSTang, Amir Hossein, AlastorMoody, THKcandomath, Adventure10
Let $P(x, y)$ be the given assertion.
\[ P(x, 1) \implies g(f(x+1)) = f(x) + (2x+1) g(1) \]\[ P(1, x) \implies g(f(x+1)) = f(1) + (x+2) g(x) \]\[ P(x, 0) \implies g(f(x)) = f(x) + 2x g(0) \]\[ P(0, x) \implies g(f(x)) = f(0) + x g(x) \]The first two equations mean \[ f(x) + (2x+1) g(1) = f(1) + (x+2) g(x) = g(f(x+1)) \]The second two mean \[ f(x) + 2x g(0) = f(0) + x g(x) = g(f(x)) \]Subtracting the two equations we have \[ 2x(g(1)-g(0)) + g(1) = f(1) - f(0) + 2 g(x) \]So $g(x)$ is linear. Plug in $g(x)=ax+b$. Then,
\[ P(x, 0) \implies mf(x) + b = f(x) + 2xb \]If $m=1$ we have $b=0$. We see that this means $f(x) = x^2+c$ upon plugging in.
If $m \neq 1$ we simplify to $f(x) = \frac{b(2x-1)}{m-1}$. $P(0, x) \implies mf(x)=f(0)+xg(x)$ so plugging in we see that we need $b=m=0$.
So the solutions are $\boxed{f(x) \equiv 0, g(x) \equiv 0}$ or $\boxed{f(x) \equiv x^2+c, g(x) \equiv x}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ankoganit
3070 posts
#8 • 8 Y
Y by anantmudgal09, tenplusten, YRNG-BCC168, Amir Hossein, mijail, IAmTheHazard, Adventure10, Mango247
We do not use the notation $P(x,y)$ for the given assertion. Swapping $x,y$ in the given equation and then comparing it with the given yields: $$f(x)+(2x+y)g(y)=f(y)+(2y+x)g(x).\qquad (\star)$$Setting $y=0$ in $(\star)$ gives $$f(x)=xg(x)-2xg(0)+f(0).\qquad (\smiley )$$Now plug this definition of $f(x)$ into $(\star)$ to get: $$-xg(0)+xg(y)=-yg(0)+yg(x).$$For nonzero $x,y$, this becomes $$\frac{g(y)-g(0)}{y}=\frac{g(x)-g(0)}{x}\implies g(x)=kx+g(0)\forall x\in\mathbb R\setminus \{0\}.$$Here $k$ is some constant. Note that this automatically holds for $x=0$, so no need to worry about that $\mathbb R\setminus \{0\}$ bit. So $g(x)$ is of the form $ax+b$, and using $(\smiley )$ lets us infer that $f(x)=ax^2-bx+c$. Now plugging these back into the original equation, we see that only $\boxed{g(x)\equiv f(x)\equiv 0}$ and $\boxed{g(x)\equiv x, \; f(x)\equiv x^2+c}$ work, so these are the only solutions. $\blacksquare$
This post has been edited 1 time. Last edited by Ankoganit, Oct 18, 2016, 11:01 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
john111111
105 posts
#9 • 2 Y
Y by Amir Hossein, Adventure10
My solution:
Let $P(x,y)$ be the assertion that $g(f(x+y))=f(x)+(2x+y)g(y)$
$P(0,0) \Rightarrow g(f(0))=f(0)$
$P(-x,2x) \Rightarrow g(f(x))=f(-x)$
$P(x,0) \Rightarrow g(f(x))=f(x)+2xg(0)$ (1).
Suppose that $g(0) \neq 0$.Then (1) easily implies that f is 1-1.
$P(-f(x),f(x)) \Rightarrow g(f(0))=f(-f(x))-f(x)g(f(x)) \Rightarrow f(-f(x))=f(x)f(-x)+f(0)$ .Putting in this $-x$ where $x$ is we obtain
$f(-f(x))=f(-f(-x)$ so from 1-1 $f(x)=f(-x) \Rightarrow x=-x \Rightarrow x=0$, a contradiction. So $g(0)=0$ and thus from (1) $g(f(x))=f(x)$ (2)
$P(0,x) \Rightarrow g(f(x))=f(0)+xg(x) \Rightarrow f(x)=f(0)+xg(x)$ (3).
Using (2) and (3) in the initial relation we have $f(x+y)=f(x)+(2x+y)g(y) \Rightarrow (x+y)g(x+y)+f(0)=xg(x)+f(0)+(2x+y)g(y) \Rightarrow (x+y)g(x+y)=xg(x)+(2x+y)g(y)$. Considering here $xy \neq 0$ by swapping $x,y$ we have $xg(x)+(2x+y)g(y)=yg(y)+(2y+x)g(x) \Rightarrow xg(y)=yg(x) \Rightarrow \frac {g(x)} {x}=\frac {g(y)} {y}=c \Rightarrow g(x)=cx$ for every $x \in \mathbb{R}$
(since $g(0)=0$) and substituting in (2) we have $f(x)(c-1)=0$.
If $f(x)=0$ for all real $x$ then (3) gives $g(x)=0$ for all real $x$ (since $g(0)=0$) which is indeed a solution.
If $c=1$ we have that $g(x)=x$ and from (3) we obtain $f(x)=f(0)+x^2$ which is a solution,whatever $f(0)$ is.
This post has been edited 1 time. Last edited by john111111, Nov 1, 2016, 6:21 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ak12sr99
156 posts
#10 • 3 Y
Y by Amir Hossein, Adventure10, Mango247
Let $P(x,y)$ denote the given functional equation. Then $P(x,0)$ and $P(0,x)$ yield $$g(f(x))=f(x)+2xg(0)=f(0)+xg(x) \implies f(x)=f(0)-2xg(0)+xg(x) ....(1).$$Next $P(x,y)$ and $P(x+y,0)$ yield $f(x+y)+2(x+y)g(0)=f(x)+(2x+y)g(y)$ which, in conjunction with $(1)$, becomes $$(f(0)-2(x+y)g(0)+(x+y)g(x+y))+2(x+y)g(0)=(f(0)-2xg(0)+xg(x))+(2x+y)g(y) \iff \frac{g(x)-g(0)}{x}=\frac{g(y)-g(0)}{y}=\lambda$$after which it's just substitution.
This post has been edited 3 times. Last edited by ak12sr99, Oct 8, 2017, 6:29 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
dantaxyz
410 posts
#11 • 2 Y
Y by AlastorMoody, Adventure10
Let \(y=-2x\) to obtain \(g(f(-x))=f(x)\), so \(f(-x-y) = f(x)+(2x+y)g(y).\) Let this assertion be \(P(x,y)\).

\(P(x,0) \implies f(-x) = f(x) + 2xg(0).\)

\(P(0,x) \implies f(-x) = f(0) + xg(x)\).

Compare \(P(x,y)\) and \(P(y,x)\) to obtain \(f(x)+(2x+y)g(y) = f(y) + (2y+x)g(y)\), and substitute in using the equations above to get \((2x+y)g(y)+f(0)-xg(-x) = (2y+x)g(x) + f(0) - yg(-y)\). Further substituting gives \((2x+y)g(y)+xg(x)-2xg(0) = (2y+x)g(x) + yg(y) -2yg(0)\). This simplifies to \(2x(g(y)-g(0)) = 2y(g(x)-g(0)) \implies \frac{g(x)-g(0)}{x} = c\) for some constant \(c\). Thus \(g\) is linear.

Assume \(g(x)=ax+c\) for some reals \(a,c\).

If \(a=0\), we have \(f(x) = g(f(-x)) = c\) for all \(x\). Plug this in to obtain \(f,g \equiv 0\).

Else, we have \(g(f(x)=af(x)+c=f(-x)\) and \(af(-x)+c = f(x)\), so subtracting these we have \((a+1)(f(x)-f(-x))=0\). If \(a=-1\), plug this in to obtain no possible solutions. Hence, \(af(x)+c=f(-x)=f(x)\), so either \(a=1,c=0\) or \(f(x) = \frac{c}{a-1}\), which is impossible because then \(f\) would be constant and \(a=0\).

We know have \(g(x)=x\) for all \(x\). Plus this in to \(P(0,x)\) to get \(f(x)=f(-x) = f(0)+x^2\).

Hence, our final solutions are \(\boxed{g,f \equiv 0}\) and \(\boxed{g \equiv x , f \equiv x^2+c}\).
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
FAA2533
65 posts
#12 • 1 Y
Y by THKcandomath
Solution
This post has been edited 14 times. Last edited by FAA2533, Jul 18, 2022, 2:44 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
THKcandomath
3 posts
#14 • 3 Y
Y by Mango247, Mango247, Mango247
FAA2533 wrote:
The answer is (\(f,g\))=(0,0),(\(x^2+c,x\)).It is easy to check that these solutions satisfy the given equation.We will now show that they are the only solutions.


Let P(\(x,y\)) be the assertion \(g(f(x+y))=f(x)+(2x+y)g(y)\).



Let \(f(0)=c\) and \(g(0)=d\).Now
P(0,\(x\)):\(g(f(x))=f(0)+xg(x)\)
P(\(x\),0):\(g(f(x))=f(x)+2xg(0)\)

From the last two equations,we get
\(f(x)=c-2xd+xg(x)\)

Using the 2nd and the last equation,we get
\(c+(x+y)g(x+y)=c-2xd+xg(x)+(2x+y)g(y)\)

Exploiting asymmetry,we find
\(x(g(y)-d)=y(g(x)-d)\)
or \(g(x)=hx+d\)
Thus plugging value,we get \(f(x)=hx^2-dx+c\)
Plugging back into the given equation we find the only two solutions (\(f,g\))=(0,0),(\(x^2+c,x\)).

Nice
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
niyu
830 posts
#16
Y by
We claim that the only solutions are $(f(x), g(x)) \equiv (0, 0)$, and $(f(x), g(x)) \equiv (x^2 + e, x)$, where $e \in \mathbb{R}$ is a real constant. It is easy to check that these are indeed solutions. We now show that these are all.

Let $P(x, y)$ denote the given assertion. From $P(x, -2x)$, we find that
\begin{align*}
	g(f(-x)) &= f(x).
\end{align*}Hence, $P(x, y)$ rewrites as
\begin{align*}
	f(-x - y) &= f(x) + (2x + y)g(y).
\end{align*}Now, from $P(x, 0)$ and $P(0, x)$ we respectively have
\begin{align*}
	f(-x) &= f(x) + 2xg(0) \\
	f(-x) &= f(0) + xg(x).
\end{align*}In particular, we have
\begin{align*}
	f(x) + 2xg(0) &= f(0) + xg(x) \\
	f(x) - f(0) &= x(g(x) - 2g(0)).
\end{align*}Hence, we further rewrite $P(x, y)$ as
\begin{align*}
	(f(-x - y) - f(0)) &= (f(x) - f(0)) + (2x + y)g(y) \\
	(-x - y)(g(-x - y) - 2g(0)) &= x(g(x) - 2g(0)) + (2x + y)g(y) \\
	(-x - y)(g(-x - y) - g(0)) + (x + y)g(0) &= x(g(x) - g(0)) - xg(0) + (2x + y)g(y) \\
	(-x - y)(g(-x - y) - g(0)) &= x(g(x) - g(0)) + (2x + y)(g(y) - g(0)).
\end{align*}
Now, let $h(x) = x(g(x) - g(0))$. Rewriting the previous equation in terms of $h$, we have
\begin{align*}
	h(-x - y) &= h(x) + \frac{2x + y}{y}h(y).
\end{align*}Noting that $h(0) = 0$, by putting $y = -x$ in the previous equation we obtain
\begin{align*}
	h(0) &= h(x) - h(-x) \\
	h(x) &= h(-x),
\end{align*}so $h$ is even. Therefore, we have
\begin{align*}
	h(x + y) &= h(x) + \frac{2x + y}{y}h(y).
\end{align*}Denote this assertion by $Q(x, y)$. Let $c = h(1)$. From $Q(x, 1)$, we obtain
\begin{align*}
	h(x + 1) &= h(x) + c(2x + 1).
\end{align*}From $Q(1, y)$, we have
\begin{align*}
	h(1 + y) &= c + \frac{y + 2}{y}h(y) \\
	h(y) + c(2y + 1) &= c + \frac{y + 2}{y}h(y) \\
	\frac{2}{y}h(y) &= 2cy \\
	h(y) &= cy^2.
\end{align*}Hence, recalling that $h(x) = x(g(x) - g(0)) = cx^2$, we find that $g(x) = cx + d$ (where $d = g(0)$). Recalling that $f(x) - f(0) = x(g(x) - 2g(0))$, we have $f(x) = cx^2 - dx + e$, where $e = f(0)$.

Now, from $g(f(-x)) = f(x)$, we have
\begin{align*}
	c(cx^2 + dx + e) + d &= cx^2 - dx + e.
\end{align*}Equating the quadratic coefficients, we have $c^2 = c$, so $c = 0, 1$. Suppose $c = 0$. By equating the linear coefficients, we find that $cd = -d$, so $d = 0$. Equating constant coefficients then yields $e = ce + d = 0$. Hence, in this case, $(f(x), g(x)) \equiv (0, 0)$. Otherwise, suppose $c = 1$. Equating the linear coefficients yields $cd = d = -d$, so $d = 0$. Therefore, we have $(f(x), g(x)) \equiv (x^2 + e, x)$.

Thus, as we have exhausted all cases, the only solutions to the functional equation are $(f(x), g(x)) \equiv (0, 0)$, and $(f(x), g(x)) \equiv (x^2 + e, x)$ for $e$ a real constant, as claimed. $\Box$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pad
1671 posts
#17 • 1 Y
Y by Mango247
Plug in $y=-2x$; we get $g(f(-x)) = f(x)$. So the equation becomes $f(-x-y) = f(X)+(2x+y)g(y)$. Call this $P(x,y)$. $P(x,0)$ gives $f(-x) = f(x)+2xg(0)$, and $P(0,y)$ gives $f(-y)=f(0)+yg(y)$, i.e. $f(y)=f(0)-yg(-y)$. So $P(x,y)$ becomes
\begin{align*}
    &f(0)+(x+y)g(x+y) = [f(0)-xg(-x)] + (2x+y)g(y) \\
    \implies &(2x+y)[g(x+y) - g(y)] = x[g(x+y)-g(-x)].
\end{align*}Call the last equation $Q(x,y)$. $Q(x,0)$ for $x\not = 0$ gives
\[ 2[g(x)-g(0)] = g(x)-g(-x) \implies g(-x)=2g(0)-g(x).\]In fact, the above also holds for $x=0$. Let $h(x)=g(x)-g(0)$. Then $h(-x)=-h(x)$. Now, $Q(x,y)$ becomes
\begin{align*}
    &(2x+y)[g(x+y)-g(y)] = x[g(x+y) + g(x)-2g(0)] \\
    \implies &(2x+y)[h(x+y) - h(y)] = x[h(x+y)+h(x)] \\
    \implies &(x+y)h(x+y) = xh(x) + (2x+y)h(y). 
\end{align*}Let $k(x)=xh(x)$. Then the above becomes
\[ k(x+y) =  k(x) + k(y) + \tfrac{2x}{y}k(y).\]Switching $x$ and $y$ above gives $k(x+y) = k(x)+k(y) + \tfrac{2y}{x}k(x)$. Therefore, $\tfrac{2y}{x}k(x) = \tfrac{2x}{y}k(y)$, i.e. $k(x) = \tfrac{x^2}{y^2}k(y)$. Fixing $y$ to be a constant, this tells us that $k(x)=Cx^2$ for some constant $C$. Now we backtrack; $h(x)=Cx$, so $g(x)=Cx+D$ for some constant $D$. And $f(x)=f(0)-xg(-x)=Cx^2-Dx+E$ for some constant $E$. Plugging back into the original equation and checking gives the solutions as $(f,g)=(0,0),(x^2+E,x)$ for a constant $E$.
Z K Y
G
H
=
a