(MENAFN- Kora) Brazilian defender miranda grabbed his second goal of the season in the spanish top flight 18 minutes from time after david villa had failed to convert a second-half penalty.
costa who missed a penalty at getafe last weekend then secured the points with his 35th goal of the season from the spot after?cristian sapunaru had brought him down - and received a second yellow card - in added time.
diego simeone's side had been frustrated by relegation-threatened elche at a?packed vicente calderon before?miranda and costa secured an eighth consecutive la liga victory.
with barcelona not playing until sunday and real madrid out of action this weekend atleti now have an ominous advantage at the summit with four games remaining as they attempt to win their first la liga title since 1996.
they can head into tuesday's uefa champions league semi-final first leg against chelsea knowing they are in with a great chance of securing a famous double.
defeat for elche on the other hand keeps them only four points above the relegation zone.
costa suffered a leg wound in a collision with a post in the victory at getafe last weekend but the striker was passed fit to start.
and the spain international was soon in the thick of the action when he fired into the side-netting after adrian lopez laid the ball off to him five minutes in.
elche were not content to just make up the numbers though and thibaut courtois produced a fine save to keep out a left-footed strike from javi marquez then had to be alert to thwart damian suarez when the defender was allowed a free header from the resulting corner.
filipe luis fluffed his lines at the other end when the ball fell kindly for him in the penalty area before the home side were given another scare just before the half-hour mark when carles gil fired over the crossbar from inside the area.
atleti were not at their best in the first half but ought to have been in front four minutes before the break when costa flicked on juanfran's cross and villa prodded wide with the goal gaping.
villa had appeared to be in an offside position but the flag failed to go up.
simeone replaced adrian with raul garcia at the break and the substitute took only four minutes to make an impact as sapunaru was adjudged to have bundled him over in the area and carlos clos gomez pointed to the spot.
villa stepped up to take the resulting penalty after costa's miss against getafe but the former barcelona man also failed from the spot as manu herrera kept out a tame effort diving to his left.
there was more frustration for villa when he had a goal ruled out for offside and was then substituted to ensure elche remain the only current top-flight team he has failed to score against.
costa was booked following his reaction to two strong challenges which sparked a melee that also saw alberto rivera go into the book.
an animated simeone orchestrated the atleti faithful and the opening goal they craved eventually arrived when miranda rose highest to head home jose sosa's corner in emphatic fashion.
costa then raced clear and was denied by herrera but made no mistake when he sent the keeper the wrong way from the spot after sapunaru had upended him in the 90th minute. the defender was shown a second yellow card to compound his misery.
Legal Disclaimer: MENAFN provides the information “as is” without warranty of any kind. We do not accept any responsibility or liability for the accuracy, content, images, videos, licenses, completeness, legality, or reliability of the information contained in this article. If you have any complaints or copyright issues related to this article, kindly contact the provider above.